<!DOCTYPE html> 
<html> 
<head> 
	<meta  charset="utf-8" />
	<title>跳转提示</title>
	<meta name="viewport" content="width=device-width, initial-scale=1"> 
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<link rel="stylesheet" href="__PUBLIC__/Css/jquery.mobile-1.2.0.css" />		
	<script src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
	<script src="__PUBLIC__/js/jquery.validate.js"></script>
    <script src="__PUBLIC__/js/messages_cn.js"></script>
	<script src="__PUBLIC__/js/jquery.mobile-1.2.0.js"></script>  
</head> 
<body>
<div data-role="page"> 
	<div data-role="header" data-position="fixed"><h1 style="text-align:center">跳转提示</h1></div> 
	<div data-role="content" style="text-align:center">
	<p style="color:blue">{$message}</p>
	<p style="color:red">{$error}</p>
	<p>系统将在 <span  id="wait" style="color:blue;font-weight:bold">{$waitSecond}</span> 秒后自动跳转，如果不想等待,直接点击 <a href="{$jumpUrl}" id="href" data-role="button" data-inline="true">这里</a> 跳转</p>
    </div> 
</div>
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
	var time = --wait.innerHTML;
	if(time == 0) {
		location.href = href;
		clearInterval(interval);
	};
}, 1000);
})();
</script>
</body>
</html>
